package com.atguigu.ascii;


public class AsciiDemo {

    public static void main(String[] args) {
//        char a = 'A';
//        int b = a;
//        // 打印ascii码
//        System.out.println(b);

        String a = "WANGcc";
        //把字符串转化为字符
        char[] chars = a.toCharArray();
        for (char c : chars) {
            int asciicode = c;
            System.out.println("asciicode = " + asciicode);
            System.out.println("1111111111111111111111111111");

        }
    }
}